home *** CD-ROM | disk | FTP | other *** search
/ Enter Special 5: Digital Photography / ENTER Special 05.iso / Grafika / Paint Shop Pro 8.0 / psp800ev.exe / Data1.cab / Preset_MagnifyingLens_Waterc < prev    next >
Encoding:
Text File  |  2003-04-22  |  1.8 KB  |  56 lines

  1. from JascApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': 'Kris Zaklika',
  6.         'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
  7.         'Description': 'A vaguely watercolor effect. Original idea: Angela M. Cable.',
  8.         'Host': 'Paint Shop Pro',
  9.         'Host Version': '8.00'
  10.         }
  11.  
  12. def Preset_MagnifyingLens():
  13.     return {
  14.         'Bound': (0.07625,0.0633333,0.92625,0.936667), 
  15.         'Darkness': 100, 
  16.         'Defocus': 3, 
  17.         'Frame': {
  18.             'FrameColor': (119,74,21), 
  19.             'Material': App.Constants.LensFrameMaterial.Chrome, 
  20.             'Style': App.Constants.LensFrameShape.Circular, 
  21.             'Thickness': 8
  22.             }, 
  23.         'Illumination': {
  24.             'LightList': [{
  25.                 'LightColor': (141,72,0), 
  26.                 'LightDirection': (0.9526,0.8087,-0.8298), 
  27.                 'HighlightSize': 81
  28.                 }], 
  29.             'MaxAmbience': 60, 
  30.             'MinAmbience': 60
  31.             }, 
  32.         'LensSurface': {
  33.             'EnvironmentMap': {
  34.                 'Active': App.Constants.Boolean.true, 
  35.                 'MapType': App.Constants.LensMapType.CurrentImage, 
  36.                 'PatternOpacity': 24
  37.                 }, 
  38.             'Gloss': 14, 
  39.             'Magnification': 15, 
  40.             'LensMaterial': {
  41.                 'Color': (252,168,62), 
  42.                 'Pattern': None, 
  43.                 'Gradient': None, 
  44.                 'Texture': None
  45.                 }, 
  46.             'LensOpacity': 24, 
  47.             'Refraction': 14, 
  48.             'ShapeType': App.Constants.LensShape.VCylindrical, 
  49.             'Shininess': 96
  50.             }
  51.         }
  52.  
  53. def Do(Environment):
  54.     App.Do( Environment, 'MagnifyingLens',         Preset_MagnifyingLens())
  55.  
  56.